<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/15 0015
 * Time: 上午 10:07
 */

namespace App\Controller;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Response;


class DefaultController
{
    /**
     * @return Response
     */
    public function index()
    {

        return new Response(
            'hello index !'
        );
    }

    public function state(Route $route)
    {
        $route=new  Route();
    }
}